.wrap {
  margin: 48px auto;
  width: 500px;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.outBox {
  width: 500px;
  height: 200px;
  overflow: hidden;
}

.box {
  display: flex;
  flex-wrap: nowrap;
  height: 100%;
  width: fit-content;
}

.item {
  min-width: 500px;
  width: 500px;
  height: 100%;
  display: inline-block;
  color: #ffffff;
  font-size: 18px;
}

.item0 {
  background: red;
}

.item1 {
  background: yellow;
}

.item2 {
  background: green;
}

.item3 {
  background: pink;
}

.item4 {
  background: purple;
}

.itemCopy {
  min-width: 500px;
  width: 500px;
  height: 100%;
  display: none;
  color: #ffffff;
  font-size: 18px;
}

.itemShow {
  display: block;
}

.dotsBox {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.dot {
  display: inline-block;
  width: 24px;
  height: 24px;
  background: blue;
  color: #ffffff;
  text-align: center;
}

.btnBox {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn {
  width: 90px;
  height: 36px;
}
